]> dgit.raspbian.org Git - gnome-shell.git/commit
quickSettings: Bind the outer button's toggle-mode to the inner buttons
authorAndy Holmes <andrew.g.r.holmes@gmail.com>
Wed, 1 Mar 2023 20:10:57 +0000 (12:10 -0800)
committerMarge Bot <marge-bot@gnome.org>
Wed, 1 Mar 2023 20:17:07 +0000 (20:17 +0000)
commitd5f868bb25f89cdab164553702f9296ea28087d3
treeffe94ca858db81dcefdda7f265ae223cb1a18409
parentb89d90eb8016dbab568f466420e2da14e600cd19
quickSettings: Bind the outer button's toggle-mode to the inner buttons

When the `QuickMenuToggle` was a discrete button, it could be set to
toggle mode, but the inner buttons no longer reacts as expected.

Bind the `toggle-mode` property between the `QuickMenuToggle` and its
contents so they behave as single toggle when enabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2664>
js/ui/quickSettings.js